
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.MedicineTakeDetail;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage MedicineTakeDetail entities.
 * 
 */
public interface MedicineTakeDetailDAO extends JpaDao<MedicineTakeDetail> {

	/**
	 * JPQL Query - findMedicineTakeDetailById
	 *
	 */
	public MedicineTakeDetail findMedicineTakeDetailById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailById
	 *
	 */
	public MedicineTakeDetail findMedicineTakeDetailById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByBoxTraceCodeContaining
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByBoxTraceCodeContaining(String boxTraceCode) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByBoxTraceCodeContaining
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByBoxTraceCodeContaining(String boxTraceCode, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByBoxTraceCode
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByBoxTraceCode(String boxTraceCode_1) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByBoxTraceCode
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByBoxTraceCode(String boxTraceCode_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllMedicineTakeDetails
	 *
	 */
	public Set<MedicineTakeDetail> findAllMedicineTakeDetails() throws DataAccessException;

	/**
	 * JPQL Query - findAllMedicineTakeDetails
	 *
	 */
	public Set<MedicineTakeDetail> findAllMedicineTakeDetails(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByTraceCodeContaining
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByTraceCodeContaining(String traceCode) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByTraceCodeContaining
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByTraceCodeContaining(String traceCode, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByPrimaryKey
	 *
	 */
	public MedicineTakeDetail findMedicineTakeDetailByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByPrimaryKey
	 *
	 */
	public MedicineTakeDetail findMedicineTakeDetailByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByTraceCode
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByTraceCode(String traceCode_1) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByTraceCode
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByTraceCode(String traceCode_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByIsBox
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByIsBox(Integer isBox) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByIsBox
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByIsBox(Integer isBox, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByCaseTraceCodeContaining
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByCaseTraceCodeContaining(String caseTraceCode) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByCaseTraceCodeContaining
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByCaseTraceCodeContaining(String caseTraceCode, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByCaseTraceCode
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByCaseTraceCode(String caseTraceCode_1) throws DataAccessException;

	/**
	 * JPQL Query - findMedicineTakeDetailByCaseTraceCode
	 *
	 */
	public Set<MedicineTakeDetail> findMedicineTakeDetailByCaseTraceCode(String caseTraceCode_1, int startResult, int maxRows) throws DataAccessException;

}